package com.ruoyi.blog.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 分类列表对象 blog_article_category
 * 
 * @author ruoyi
 * @date 2024-08-05
 */
public class Category extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String cateName;

    /** 排序 */
    @Excel(name = "排序")
    private Long cateOrder;

    /** 总数 */
    @Excel(name = "总数")
    private Long cateCount;

    /** 别名 */
    @Excel(name = "别名")
    private String cateAlias;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCateName(String cateName) 
    {
        this.cateName = cateName;
    }

    public String getCateName() 
    {
        return cateName;
    }
    public void setCateOrder(Long cateOrder) 
    {
        this.cateOrder = cateOrder;
    }

    public Long getCateOrder() 
    {
        return cateOrder;
    }
    public void setCateCount(Long cateCount) 
    {
        this.cateCount = cateCount;
    }

    public Long getCateCount() 
    {
        return cateCount;
    }
    public void setCateAlias(String cateAlias) 
    {
        this.cateAlias = cateAlias;
    }

    public String getCateAlias() 
    {
        return cateAlias;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cateName", getCateName())
            .append("cateOrder", getCateOrder())
            .append("cateCount", getCateCount())
            .append("cateAlias", getCateAlias())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
